package com.xxl.job.consume.repository;

import com.xxl.job.consume.model.AlarmInfoModel;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AlarmInfoDao {

    /**
     * 保存
     * @param alarmInfoModel
     */
    void save(AlarmInfoModel alarmInfoModel);

    /**
     * 报警升级
     * @param alarmInfoModel
     */
    void upgrade(AlarmInfoModel alarmInfoModel);

    /**
     * 恢复报警
     * @param alarmInfoModel
     */
    void frequently(AlarmInfoModel alarmInfoModel);

    /**
     * 归并报警
     * @param alarmInfoModel
     */
    void merge(AlarmInfoModel alarmInfoModel);

}
